# -*- python -*-
# Copyright (c) 2014 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Import('env')

if not env.Bit('posix') or not env.Bit('minsfi'):
  Return()

env.ComponentLibrary('minsfi_runtime', [
    'entry.c',
    'loader.c',
    'state.c',
    'syscall/exit.c',
    'syscall/heaplim.c',
    'syscall/sysconf.c',
  ], CPPDEFINES=['MINSFI_TRUSTED'])
